﻿using Microsoft.WindowsAzure.Management.Storage.Models;
using System.Web.Http;

namespace Microsoft.Cloud.API.Azure.Controllers
{
    [RoutePrefix("api/Dictionaries")]
    public class DictionariesController : ApiController
    {
        /// <summary>
        /// get storage account types
        /// </summary>
        /// <returns></returns>
        [Route("StorageAccountTypes")]
        public IHttpActionResult Get()
        {
            var result = new[] { StorageAccountTypes.StandardGRS, StorageAccountTypes.StandardLRS, StorageAccountTypes.StandardRAGRS, StorageAccountTypes.StandardZRS };
            
            return Ok(result);
        }
    }
}
